package com.myh.cc.coom.ranking.view

import com.myh.cc.R
import com.myh.cc.base.BaseActivity
import com.myh.cc.coom.ranking.net.RankingNetControl
import com.myh.cc.coom.ranking.viewmodel.RankingDetailsModel
import com.myh.cc.databinding.ActivityRaningDetailsBinding

/**
 * des    ：
 * create    ：  mayahao.
 * date   ：  2018/1/18.   ：
 */
class RankingDetailsActivity: BaseActivity<ActivityRaningDetailsBinding,RankingNetControl,RankingDetailsModel>() {

    override fun getLayoutId(): Int {
        return R.layout.activity_raning_details
    }

    override fun initView() {

        val topId = intent.extras.getString("topId","")

        mModel.getRankingDetails(topId)

        mBinder.relaBack.setOnClickListener{
            view ->
            finish()
        }

    }



}